package com.example.model.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 修改手机号请求DTO
 * 用于接收用户修改手机号的请求参数
 *
 * @author zhexueqi
 * @since 2024/4/12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "修改手机号请求", description = "包含原手机号、新手机号和验证信息")
public class UpdatePhoneDTO {
    
    @ApiModelProperty(value = "原手机号", required = true, example = "13900139000")
    private String oldPhone;
    
    @ApiModelProperty(value = "新手机号", required = true, example = "13800138000")
    private String newPhone;
    
    @ApiModelProperty(value = "验证码", required = false, example = "123456")
    private String verificationCode;
}